package com.example.finance_oa.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.Invoice;
import com.example.comment_oa.pojos_vo.InvoiceVO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author Jin
 * @description 针对表【invoice】的数据库操作Service
 * @createDate 2022-10-17 10:46:55
 */
@Service
public interface InvoiceService extends IService<Invoice> {
    //多条件查询发票
    List<Invoice> allByempId(InvoiceVO invoiceVO);

    //查询未辨伪的发票
    List<Invoice> allBywbw();

    //发票辨伪
    int invoiceBybw(InvoiceVO invoiceVO);

    //删除发票
    int  deleteInvoice(String invoicePhone);

    //新增发票
    int insertInvoice(Invoice invoice);

    //根据发票号码查重
    List<Invoice> InvoicePhone(String invoicePhone);


    //根据员工Id查询未报销的发票
    List<Invoice> selectallwbx(int empId);


}
